Skip to content

disabling host verification now works#317

Closed
joseluu wants to merge 1 commit intoIBM:mainfrom
joseluu:main
Closed

disabling host verification now works#317
joseluu wants to merge 1 commit intoIBM:mainfrom
joseluu:main

Conversation

@joseluu
Copy link

@joseluu joseluu commented Feb 6, 2026

PR summary

fixes #316 and Qiskit/qiskit-ibm-runtime#2592
This is a 3 lines change:

  • propagate down the call chain the indication that host verification has to be disabled
  • remove the forcing of the verification

Current vs new behavior

disabling host verification now works

Does this PR introduce a breaking change?

  • Yes
  • No

@CLAassistant
Copy link

CLAassistant commented Feb 6, 2026

CLA assistant check
All committers have signed the CLA.

@pyrooka
Copy link
Member

pyrooka commented Feb 17, 2026

Hello! Sorry but these changes are not valid. The files that you modify in this PR are generated. To disable the SSL verification in your service, you can use the set_disable_ssl_verification method. For example:

service = GlobalCatalogV1.new_instance(
    service_name='TEST_SERVICE',
)
service.set_disable_ssl_verification(True)

@pyrooka pyrooka closed this Feb 17, 2026
@joseluu
Copy link
Author

joseluu commented Feb 18, 2026

Then the generator should be fixed for the diable functionality to work, which part of the software generates this code ?

@pyrooka
Copy link
Member

pyrooka commented Feb 18, 2026

The generator is not part of this project. It's an internal one. And it's designed this way on purpose, to include only the necessary/most important parameters in the constructors. The parent BaseService has a lot of other configuration options that can be used after creating the service.

Can I ask why service.set_disable_ssl_verification(True) is not sufficient for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

going through a proxy and disabling host verification is not effective

3 participants

Comments